package 新特征锁_取钱;

public class Mycount {
    private int  oid; //账号
    private int cash; // 账号余额

    public Mycount(int oid, int cash) {
        this.oid = oid;
        this.cash = cash;
    }

    public int  getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public int getCash() {
        return cash;
    }

    public void setCash(int cash) {
        this.cash = cash;
    }

    public String toString(){
        return "MyCount{"
                + "oid="+ this.oid+" \\ "
                + "cash=" + this.cash +"}";
    }
}
